package com.wjm.blog.system.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 用户角色信息表保存VO
 *
 * @author wjm
 * @version 1.0
 * @date 2023-10-18T14:34:39.412
 */
@Data
@ApiModel
public class SysUserRoleSaveVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId不能为空")
    @ApiModelProperty(value = "用户ID 关联SYS_USER表主键ID", required = true)
    private Long userId;

    @NotNull(message = "roleId不能为空")
    @ApiModelProperty(value = "角色ID 关联SYS_ROLE表主键ID", required = true)
    private Long roleId;

}
